package com.shop.vo;

import java.util.Date;

import com.shop.pojo.Users;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * @author yukangkang
 * @email sunlightcs@gmail.com
 * @date 2020-10-30 13:16:29
 */
@Data
@ToString
public class UsersSaveRequest {

    @NotBlank
    @ApiModelProperty(value = Users.USERNAME)
    private String username;

    @NotBlank
    @ApiModelProperty(value = Users.PASSWORD)
    private String password;

    @ApiModelProperty(value = Users.NICKNAME)
    private String nickname;

    @ApiModelProperty(value = Users.REALNAME)
    private String realname;

    @ApiModelProperty(value = Users.FACE)
    private String face;

    @ApiModelProperty(value = Users.MOBILE)
    private String mobile;

    @ApiModelProperty(value = Users.EMAIL)
    private String email;

    @ApiModelProperty(value = Users.SEX)
    private Integer sex;

    @ApiModelProperty(value = Users.BIRTHDAY)
    private Date birthday;

}
